home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF & Cyberdog / CyberStarter / Sources / SOMPart.cpp < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.1 KB  |  41 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SOMPart.cpp
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifdef SYMANTEC_CPLUS
  11. #define PRAGMA_IMPORT_SUPPORTED 1 
  12. #endif 
  13.  
  14. #include "Define.h"
  15. #include "FWSOMPrt.h"
  16. #include "Part.h"
  17.  
  18. #if defined(__MWERKS__) && GENERATING68K
  19. // A hack to work around a bug
  20. #pragma import list somParentNumResolve, somGetGlobalEnvironment
  21. #endif
  22.  
  23.  
  24. //========================================================================================
  25. //
  26. //========================================================================================
  27.  
  28. #ifdef SYMANTEC_CPLUS
  29. #define SOMInit main 
  30. #endif 
  31.  
  32. #ifdef FW_BUILD_MAC
  33. #pragma segment SOM
  34. #endif
  35.  
  36. //========================================================================================
  37. //
  38. //========================================================================================
  39.  
  40. FW_SOMPART(ODFExamples, ODFCyberStarter, CPart)
  41.